package de.islanders.tests;

import org.junit.Test;

import de.islanders.exceptions.InvalidGameDifficultyException;
import de.islanders.unit.Gender;
import de.islanders.unit.player.PlayerBuild;
import de.islanders.world.GameDifficulty;

public class PlayerBuildTest {

	@Test
	public void test() {
		try {
			PlayerBuild pb = new PlayerBuild(Gender.MALE, GameDifficulty.CHALLENGE);
			System.out.printf("Height: %dcm\n", pb.getHeight());
			System.out.printf("Weight: %.2fkg\n", pb.getWeight());
			System.out.printf("Physique %.3f\n", pb.getPhysique());
		} catch (InvalidGameDifficultyException e) {
			e.printStackTrace();
		}
		
	}

}
